<?php
  function insert_user_info($form_state) {
  $query = db_insert('tvn_customer');
  $query->fields(array('uid', 'name', 'surname', 'gender', 'age', 'weight', 'height', 'about', 'source'));
  $query->values(array(
                      $form_state['values']['uid'],
                      $form_state['values']['name'],
                      $form_state['values']['surname'],
                      $form_state['values']['gender'],
                      $form_state['values']['age'],
                      $form_state['values']['weight'],
                      $form_state['values']['height'],
                      $form_state['values']['about'],
                      $form_state['values']['source']));
  $query->execute();
}
